<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>后台登录</title>
<meta name="author" content="DeathGhost" />
<link rel="icon" href="/ZcSystem/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="resources/css/style.css" />
<style>
body{height:100%;background:#16a085;overflow:hidden;}
canvas{z-index:-1;position:absolute;}
</style>
<script src="resources/js/jquery.js"></script>
<script src="resources/js/verificationNumbers.js"></script>
<script src="resources/js/Particleground.js"></script>
<script>
$(document).ready(function() {
	if(top.location!=self.location){
       top.location=self.location;
    }
	 
	//粒子背景特效
  	$('body').particleground({
   		dotColor: '#5cbdaa',
    	lineColor: '#5cbdaa'
  	});
  	//验证码
  	createCode();
 	 //测试提交，对接程序删除即可
 	$(".submit_btn").click(function(){
		 if(validate()){
			$("#loginForm").submit();
		 }
	});
});

function keyUp(event){
	var e = window.event||event;
	if(e.keyCode==13)
	{
		$(".submit_btn").click();
	}
}
</script>
</head>
<body>
<form action="submit.do" id="loginForm" method="post">
<dl class="admin_login">
 <dt>
  <strong>固定资产管理系统</strong>
  <em>Management System</em>
 </dt>
 <dd class="user_icon">
  <input name="username" type="text" placeholder="账号" class="login_txtbx"/>
 </dd>
 <dd class="pwd_icon">
  <input name="password" type="password" placeholder="密码" class="login_txtbx"/>
 </dd>
 <dd class="val_icon">
  <div class="checkcode">
    <input onkeyup="keyUp(event)" name="captcha" type="text" id="J_codetext" placeholder="验证码" maxlength="4" class="login_txtbx">
    <canvas class="J_codeimg" id="myCanvas" onclick="createCode()">对不起，您的浏览器不支持canvas，请下载最新版浏览器!</canvas>
  </div>
 </dd>
 <dd>
  <input type="button" value="立即登录" class="submit_btn"/>
 </dd>
 <dd>
  <p>© 2015-2016 版权所有</p>
  <p></p>
 </dd>
</dl>
</form>
</body>
</html>
